<?php
/**
 * 后台Index相关
 */
namespace Admin\Controller;
use Think\Controller;
class IndexController extends CommonController {
    
    public function index(){
        $adminCount = D("Admin")->getLastLoginUsers();
        $productcount = D("Product")->getproductCount();
        $productcountmoon = D("Product")->getproductCountmoon();
        $this->assign('admincount', $adminCount);
        $this->assign('productcount', $productcount);
        $this->assign('productcountmoon', $productcountmoon);
        $this->display();
    }

}